/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package eypweb_bsc;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 *
 * @author Kohalmi Istvan
 */

// az alkalmazas foosztalya
public class Main extends Application {
    
    // az alkalmazas belepesi pontja
    public static void main(String[] args) {
        Application.launch(Main.class, args);
    }
    
    // a program iniciializalasa
    @Override
    public void start(Stage stage) throws Exception {
        // felso szintu vezerlo peldanyositasa
        Director director = Director.getInstance();
        // aablak referencia elmentese
        director.setStage(stage);
        // bejelentkezesi kepernyo inditasa
        director.initializeLoginScreen();
    }
}
